package com.kanavi.stand.controller;


import com.common.boot.common.CommonResult;
import com.kanavi.stand.anno.Log;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author tanghailan
 * @since 2020-10-23
 */
@RestController
@RequestMapping("/stand/sysLog")
@Slf4j
public class SysLogController {

    @GetMapping("test")
    @Log("测试")
    public CommonResult testLog(@RequestParam Integer id){
        log.info("测试切面");
        return CommonResult.success(id);
    }
}

